package com.lizhi.note.dto;


import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
public class NotepageDTO {

    private Long id;

    @NotBlank
    @Size(max = 20)
    private String title;

    private String summary;

    private Long notebookId;

    private LocalDateTime updateTime;

    private String content;
}
